package com.tomorrowbbs.domain.enums;

public enum ResponseCodeEnum {
    CODE_200(200,"操作成功"),
    CODE_404(404,"请求资源不存在"),
    CODE_500(500,"服务器异常 请联系管理员"),
    CODE_600(600,"请求参数错误"),
    CODE_601(601,"信息以及存在"),
    CODE_900(900,"请求超时"),
    CODE_901(901,"登录超时");


    private Integer code;
    private String msg;
    ResponseCodeEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
}
